// pages/12-checkbox/12-checkbox.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    citys: [
      {
        id: 0, city: '武汉'
      },
      {
        id: 2, city: '湖北'
      },
      {
        id: 3, city: '上海'
      },
      {
        id: 4, city: '孝感'
      },
      {
        id: 5, city: '深圳'
      },
    ],
    sty: [],

  },
  changes(e) {
    // console.log(e)
    const str=e.detail.value
    console.log(str)
this.setData({
  sty:str
})
  }

})